package cn.yinyu.queue.module.ecg.controller.admin.call.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.yinyu.queue.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.yinyu.queue.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 叫号分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CallPageReqVO extends PageParam {

    @Schema(description = "患者编号", example = "1991")
    private String patId;

    @Schema(description = "患者姓名", example = "李四")
    private String patName;

    @Schema(description = "患者性别")
    private Integer patGender;

    @Schema(description = "排队序号")
    private Integer seqNum;

    @Schema(description = "过号标记")
    private Integer passed;

    @Schema(description = "预约过期标记")
    private Integer expired;

    @Schema(description = "叫号状态 0 未播 1 已播 ")
    private Integer called;

    @Schema(description = "插队标记")
    private Integer jumpFlag;

    @Schema(description = "诊室编号", example = "30859")
    private Long roomId;

    @Schema(description = "诊室名称", example = "李四")
    private String roomName;

    @Schema(description = "诊疗床编号")
    private String bedNo;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}